package com.mayikt.decorate;

import com.mayikt.entity.UserEntity;
import org.aspectj.lang.ProceedingJoinPoint;

/**
 * @ClassName ComponentCache
 * @Author 蚂蚁课堂余胜军 QQ644064779 www.mayikt.com
 * @Version V1.0
 **/
public interface ComponentCache {

    /**
     * 根据key查询缓存数据
     *
     * @param
     * @return
     */
    <T> T getCacheEntity(String key,Class<T> t, ProceedingJoinPoint joinPoint);
}
